package com.ruoyi.postResponse.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 帖子回复表 com_post_response
 * 
 * @author ruoyi
 * @date 2019-10-15
 */
public class PostResponse extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 帖子ID */
	private Integer postId;
	/** 用户ID */
	private Integer userId;
	/** 评论时间 */
	private Date conmentTime;
	/** 评论内容 */
	private String conmentContent;
	/** 1回复帖子  2回复用户 */
	private Integer conmentType;
	/** 回复用户ID */
	private Integer conmentUserId;
	/** 是否被举报  1是0否 */
	private Integer isComplain;
	/** 有效值 */
	private Integer valid;
	/** 审核状态 */
	private Integer verifyState;

	/** 建立日期 */
	private Date createDate;
	/** 修改日期 */
	private Date modifyDate;

	private String userName;

	private String conmentUserName;

	private Integer responseCommentId;

	public Integer getResponseCommentId() {
		return responseCommentId;
	}

	public void setResponseCommentId(Integer responseCommentId) {
		this.responseCommentId = responseCommentId;
	}

	public Integer getVerifyState() {
		return verifyState;
	}

	public void setVerifyState(Integer verifyState) {
		this.verifyState = verifyState;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getConmentUserName() {
		return conmentUserName;
	}

	public void setConmentUserName(String conmentUserName) {
		this.conmentUserName = conmentUserName;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setPostId(Integer postId) 
	{
		this.postId = postId;
	}

	public Integer getPostId() 
	{
		return postId;
	}
	public void setUserId(Integer userId) 
	{
		this.userId = userId;
	}

	public Integer getUserId() 
	{
		return userId;
	}
	public void setConmentTime(Date conmentTime) 
	{
		this.conmentTime = conmentTime;
	}

	public Date getConmentTime() 
	{
		return conmentTime;
	}
	public void setConmentContent(String conmentContent) 
	{
		this.conmentContent = conmentContent;
	}

	public String getConmentContent() 
	{
		return conmentContent;
	}
	public void setConmentType(Integer conmentType) 
	{
		this.conmentType = conmentType;
	}

	public Integer getConmentType() 
	{
		return conmentType;
	}
	public void setConmentUserId(Integer conmentUserId) 
	{
		this.conmentUserId = conmentUserId;
	}

	public Integer getConmentUserId() 
	{
		return conmentUserId;
	}
	public void setIsComplain(Integer isComplain) 
	{
		this.isComplain = isComplain;
	}

	public Integer getIsComplain() 
	{
		return isComplain;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("postId", getPostId())
            .append("userId", getUserId())
            .append("conmentTime", getConmentTime())
            .append("conmentContent", getConmentContent())
            .append("conmentType", getConmentType())
            .append("conmentUserId", getConmentUserId())
            .append("isComplain", getIsComplain())
            .append("valid", getValid())
            .append("createDate", getCreateDate())
            .append("modifyDate", getModifyDate())
				.append("userName", getUserName())
				.append("conmentUserName", getConmentUserName())
				.append("verifyState", getVerifyState())
            .toString();
    }
}
